package com.tongji.diy.controller
{
	import com.tongji.diy.event.ReturnDoorsInfoEvent;
	import com.tongji.diy.model.DoorsAndWindows;
	
	import org.robotlegs.mvcs.Command;
	
	public class ReturnDoors extends Command
	{
		
		[Inject]
		public var event:ReturnDoorsInfoEvent;
		
		[Inject]
		public var model:DoorsAndWindows;
		
		
		public function ReturnDoors()
		{
			super();
		}
		
		override public function execute():void
		{
			model.refreshinfofromscene(event.s_doors,event.s_rooms);
		}
	}
}